// by Xeno

if (!X_Client) exitWith {};

if (!isNil "d_jip_started") exitWith {};
d_jip_started = true;

if (d_global_debug > 0) then { diag_log Format["(%1)[%2]: %3",diag_tickTime,"jip.sqf","Calling setupplayer.sqf"]; };
execVM "client\setupplayer.sqf";


if (d_global_debug > 0) then { diag_log Format["(%1)[%2]: %3",diag_tickTime,"jip.sqf","Ended"]; };

waituntil{ sleep 0.2345; !isnil {["D_CURRENT_TIME",nil] call XNetGetJIP}};
skipTime ((["D_CURRENT_TIME",nil] call XNetGetJIP) - DayTime);
sleep 10;
// We synch the time a second time for security.
skipTime ((["D_CURRENT_TIME",nil] call XNetGetJIP) - DayTime);